﻿using System;
using System.Windows.Forms;

namespace FriendlyFire
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            // use the single instance controller instead.
            //Application.Run(new FriendlyFire());
            string[] args = Environment.CommandLine.Split(' ');
            SingleInstanceController controller = new SingleInstanceController();
            controller.Run(args);
        }
    }
}
